package xyz.fuqufyb.aec.entity;

import lombok.ToString;

import java.io.Serializable;
@ToString
public class AdminUser implements Serializable {
    private Integer id;

    private String password;

    private String email;

    private String realName;

    private Short status;

    private static final long serialVersionUID = 1L;

    public AdminUser(Integer id, String password, String email, String realName, Short status) {
        this.id = id;
        this.password = password;
        this.email = email;
        this.realName = realName;
        this.status = status;
    }

    public AdminUser() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName == null ? null : realName.trim();
    }

    public Short getStatus() {
        return status;
    }

    public void setStatus(Short status) {
        this.status = status;
    }
}